using Iivil.Infrastructure.Configuration.Providers;
using Iivil.Infrastructure;

namespace Iivil.Infrastructure.Configuration {
	/// <summary>
	/// Summary description for ConfigurationProvider.
	/// </summary>
	public class ConfigurationProvider {
		private static IConfigurationProvider _instance;
		private ConfigurationProvider() {
			
		}

		public static IConfigurationProvider Instance {
			get {
				if (_instance == null)
					_instance = new AppConfig();
				return _instance;
			}
		}


		public static string GetString(string name) {
			return Instance.GetString(name);
		}

		public static int GetInt(string name) {
			return Instance.GetInt(name);
		}

		

	}
}
